package sg.edu.nus.iss.vmcs.store;

/*
 * Copyright 2003 ISS.
 * The contents contained in this document may not be reproduced in any
 * form or by any means, without the written permission of ISS, other
 * than for the purpose for which it has been supplied.
 *
 */

/**
 *
 * Updated to implement Singleton
 * @version 3.1 25/12/2009
 * @author Olivo Miotto, Pang Ping Li
 */

public class DrinksStore extends Store {

	private static DrinksStore instance = null;
	/**
     * change description - Singleton pattern applied
     * {@code only one instance is maintained for DrinksStore}
     * @author Samarjit
     */
	static{
		if(instance == null )
			instance = new DrinksStore();
	}
    private DrinksStore() {}

	public static DrinksStore getInstance() {
		return instance;
    }

}
